package com.piece.core.framework.exception;

/**
 * 系统异常
 */
public class ServerException extends FrameWorkException {

    public ServerException() {
        super(ErrorCode.SERVER);
    }

    public ServerException(String message) {
        super(new ErrorCode(500, message));
    }

    public ServerException(String key, String... args) {
        super(new ErrorCode(500, key, args));
    }
}
